package com.xjrsoft.module.base.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xjrsoft.common.page.PageInput;
import com.xjrsoft.common.page.PageOutput;
import com.xjrsoft.module.base.entity.XjrBaseDesktopscheme;
import com.xjrsoft.module.base.vo.DesktopSchemeVo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zwq
 * @since 2021-12-01
 */
public interface IXjrBaseDesktopschemeService extends IService<XjrBaseDesktopscheme> {

    PageOutput<DesktopSchemeVo> getList(PageInput pageInput);

    boolean add(JSONObject jsonObject);

    boolean update(JSONObject jsonObject);

    boolean delete(String id) throws Exception;

    JSONObject getDesktopschemeById(String id) throws Exception;

    boolean copy(String id) throws Exception;

    boolean setDefault(String id) throws Exception;
}
